package com.sca.user.provider;

import com.sca.user.consumer.UserConsumerTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Embrace 00105568
 * @version 1.0
 * @description: 用户模块调用
 * @date 2021/7/7 16:12
 * @git https://gitee.com/EmbraceQAQ
 */
@RestController
@RequestMapping("userProviderTest")
public class UserProviderTest {
    @Autowired
    private UserConsumerTest userConsumerTest;

    @GetMapping("test")
    public String test() {
        return "用户模块调用：" + userConsumerTest.orderProviderTestRemote();
    }
}
